<template>
  <div class="demo">
    <h2>学校名称:{{name}}</h2>
    <h2>学校地址:{{address}}</h2>
  </div>
</template>

<script>
export default {
  name:'MySchool',
  data() {
    return {
      name:'岳阳职业技术学院',
      address:'岳阳'
    }
  },
}
</script>

<style>
  .demo{
    background-color: hotpink;
  }
</style>